package it.elis.media.library.model.data;

import java.util.Date;

public class Book {

	private Integer progBookId;
	private String title;
	private String isinCode;
	private Author author;
	private Date datePublication;
	
	public Integer getProgBookId() {
		return progBookId;
	}
	public void setProgBookId(Integer progBookId) {
		this.progBookId = progBookId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getIsinCode() {
		return isinCode;
	}
	public void setIsinCode(String isinCode) {
		this.isinCode = isinCode;
	}
	public Author getAuthor() {
		return author;
	}
	public void setAuthor(Author author) {
		this.author = author;
	}
	public Date getDatePublication() {
		return datePublication;
	}
	public void setDatePublication(Date datePublication) {
		this.datePublication = datePublication;
	}
	@Override
	public String toString() {
		return "Book [progBookId=" + progBookId + ", title=" + title
				+ ", isinCode=" + isinCode + ", author=" + author
				+ ", datePublication=" + datePublication + "]";
	}
	
	
}
